[IA64] Don't share privregs with hvm domain
authorAlex Williamson <alex.williamson@hp.com>
Mon, 22 Oct 2007 18:26:53 +0000 (12:26 -0600)
committerAlex Williamson <alex.williamson@hp.com>
Mon, 22 Oct 2007 18:26:53 +0000 (12:26 -0600)
commit34070c37f55e7b04f2dc9d6e9f71ea238d8131fa
tree71b986b26d1bb7d1922c6d76e8474c70d7231e3a
parentde5d56f31dd18fde2297e6f7ea1a1bc2e809ffe5
[IA64] Don't share privregs with hvm domain

Don't share privregs with hvm domain and twist IA64 xen dump core format
slightly.  Xen shares privregs pages with IA64 HVM domain for xm dump-core
to dump the pages.  However sharing the page allows hvm guest domain
peek/destroy the page contents that might cause xen crash.  And the xen
dump core file doesn't need privregs page because cpu context should be
obtained from vcpu context in case of IA64 HVM domain.

Although this patch modify xen dump core format, current crash utility
(at least crash 4.0-4.7) doesn't look into .xen_ia64_mmapped_regs section
and I don't know any other tools to understand xen dump core file.
So this format modification doesn't cause incompatibility issue.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
docs/misc/dump-core-format.txt
tools/libxc/xc_core.c
tools/libxc/xc_core_ia64.c
xen/arch/ia64/vmx/vmx_init.c
xen/arch/ia64/xen/domain.c
xen/include/asm-ia64/domain.h
xen/include/public/arch-ia64.h